* {
    padding: 0px;
    margin: 0px;
}

body {
    min-width: 1300px;

}

a {
    text-decoration: none;
}

/* 导航 */
.header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.header-left>div a {
    text-decoration: none;
}

.header-logo img {
    width: 90px;
}

.header-left,
.header-right {
    display: flex;
    justify-content: space-around;
    align-items: center;

}

.header-left {
    margin-left: 10px;
}

.header-right {
    margin-right: 50px;
}

.header-left>div {
    padding: 25px;

}

.header-right>div {
    padding: 25px 10px;

}

.header-left a {
    color: black;
}

.header-left a:hover {
    color: rgb(207, 10, 44);
}

.header-right span {
    color: rgb(225, 225, 225);
    font-size: 22px;
    font-weight: bolder;
}

.header-right span:hover {
    color: rgb(109, 109, 109);
}

/* 图片 */
.banner-img {
    padding-bottom: 20px;
    background: rgb(246, 246, 245);
}

.banner-img img {
    width: 100%;
    border-radius: 5px;
}

.campus-discount {
    background: rgb(246, 246, 245);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.campus-discount img {
    width: 1200px;
}

/* 精选学生爆款 */
.student {
    background: rgb(246, 246, 245);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0px;
}

.student-all {
    width: 1200px;
    padding-top: 30px;
}

.student-content img {
    height: 200px;
}

.student-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.student-content>div {
    transition: 1s;
}

.student-content>div:hover,
.computer-content>div:hover,
.audio-content>div:hover {
    cursor: pointer;
    /* 将h-shadow,v-shadow设为0px,实现四周阴影 */
    box-shadow: black 0px 0px 10px;
}

.student-content-box {
    height: 200px;
    width: 392px;
    background: white;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.student-content-box-left {
    position: relative;
    margin-right: 10px;
    box-sizing: border-box;
}

.student-position-text {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 20px;
}

.student-position-text .edu-text {
    width: 120px;
    height: 18px;
    font-size: 12px;
    color: rgb(207, 10, 44);
    background: rgb(251, 231, 234);
    border-radius: 5px;
    text-align: center;
}

.student-content-box-right {
    box-sizing: border-box;
    /* margin-top: 20px; */
    position: relative;
}

.student-content-title {
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
}

.student-content-subtitle {
    font-size: 14px;
    color: rgb(132, 132, 129);
}

.student-content-price {
    color: rgb(207, 10, 44);
    position: absolute;
    bottom: 66px;
}

.student-content-price::before {
    content: "￥";
    color: rgb(207, 10, 44);
}

.student-content-button>button {
    width: 100px;
    height: 35px;
    color: white;
    font-size: 18px;
    background: rgb(207, 10, 44);
    border: 0px;
    border-radius: 25px;
    margin-top: 10px;
    position: absolute;
    bottom: 20px;
}

/* 新品 */
.new-text {
    padding: 0px 5px;
    font-size: 12px;
    font-weight: normal;
    color: white;
    background: rgb(249, 63, 92);
    border: 0px;
    border-radius: 3px;
    position: relative;
    top: -3px;
}

.new-text2 {
    font-size: 12px;
    font-weight: normal;
    color: rgb(249, 63, 92);
    background: white;
    border: 1px solid rgb(207, 10, 44);
    border-radius: 3px;
}

.new-text3 {
    font-size: 12px;
    text-decoration: line-through;
    color: rgb(109, 109, 109);
}



/* 电脑 */
.computer {
    width: 100%;
    height: 1000px;
    box-sizing: border-box;
    background: rgb(246, 246, 245);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0px;
}

.computer-all {
    width: 1200px;
    padding-top: 30px;
}

.computer-content-box-img>img {
    height: 180px;
}

.computer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.computer-content-box {
    width: 290px;
    height: 420px;
    background: #fff;
    margin: 5px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.computer-content-box-img {
    position: absolute;
    top: 30px;
}

.computer-content-box-tips {
    height: 20px;
    font-size: 12px;
    color: rgb(207, 10, 44);
    background: rgb(251, 231, 234);
    padding: 2px 5px;
    position: absolute;
    top: 50%;
    border: 0px;
    border-radius: 5px;
}

.computer-content-box-title {
    font-size: 16px;
    font-weight: 700;
    position: absolute;
    top: 58%;
}

.computer-content-box-subtitle {
    font-size: 14px;
    color: rgb(132, 132, 129);
    position: absolute;
    top: 66%;
}

.computer-content-box-price {
    color: rgb(207, 10, 44);
    position: absolute;
    top: 74%;
}

.computer-content-box-price::before {
    content: "￥";
    color: rgb(207, 10, 44);
}

.computer-content-box-evaluation {
    font-size: 12px;
    color: rgb(132, 132, 129);
    position: absolute;
    top: 92%;
}

/* 音频 */
.audio {
    width: 100%;
    box-sizing: border-box;
    background: rgb(246, 246, 245);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.audio-content-box-img>img {
    height: 290px;
}

.audio-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 30px;
}

.audio-content-box {
    width: 290px;
    height: 420px;
    background: #fff;
    margin: 5px 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.audio-content-box-title {
    font-size: 14px;
    font-weight: 700;
    position: absolute;
    top: 70%;
}

.audio-content-box-subtitle {
    font-size: 12px;
    color: rgb(132, 132, 129);
    position: absolute;
    top: 76%;
}

.audio-content-box-price {
    color: rgb(207, 10, 44);
    position: absolute;
    top: 84%;
}

.audio-content-box-price::before {
    content: "￥";
    color: rgb(207, 10, 44);
}

/* 异常图片 */
.error-img {
    background: rgb(246, 246, 245);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 返回顶部 */
#black {
    /* 默认隐藏 */
    display: none;
    width: 70px;
    height: 80px;
    border: 0px;
    border-radius: 10px;
    background: white;
    position: fixed;
    bottom: 30px;
    right: 20px;
}

#black a {
    color: #999;
}

#black a:link {
    color: #999;
}

#black img {
    width: 30px;
    position: relative;
    top: 10px;
    left: 19px;

}

.black-text {
    font-size: 12px;
    color: #999;
    position: relative;
    top: 20px;
    left: 10px;
}

.black-text a:hover {
    color: rgb(207, 10, 44);
}